import { Pipe, PipeTransform } from '@angular/core';

@Pipe({ name: 'decode' })
export class DecodePipe implements PipeTransform {
	transform(url: string): string {
		return url ? decodeURI(url) : ''; 
	}
}